﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using System.ComponentModel;

namespace NETMovie.UI.WebMVC.Models
{
    public class CastMemberModel
    {


        [DisplayName("Actor Name")]
        public string Name { get; set; }

        [DisplayName("Cast Member Id")]
        public int CastMemberId { get; set; }


        public int MovieId { get; set; }


        public string Role { get; set; }
         [Required]
        [DisplayName("Role")]
        public IEnumerable<SelectListItem> Roles
        {
            get;
            set;
        }

    }
}